package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;

import java.time.LocalDateTime;


/**
 * 
 *
 * @author code-generate
 * @date 2021-08-30
 */
@DbTable(tableName = "t_gps_pos_curr_status")
public class GpsPosCurrStatus extends BaseEntity {
        /**
     * 
     */
    @DbTableField(columnName = "c_client_key", dbType = DbTypeEnum.VARCHAR)
    public String clientKey ;

    /**
     * 
     */
    @DbTableField(columnName = "c_client_ip", dbType = DbTypeEnum.VARCHAR)
    public String clientIp ;

    /**
     * 
     */
    @DbTableField(columnName = "c_client_port", dbType = DbTypeEnum.INTEGER)
    public Integer clientPort ;

    /**
     * 
     */
    @DbTableField(columnName = "c_protocol_type", dbType = DbTypeEnum.INTEGER)
    public Integer protocolType ;

    /**
     * 
     */
    @DbTableField(columnName = "c_service_name", dbType = DbTypeEnum.VARCHAR)
    public String serviceName ;

    /**
     * 
     */
    @DbTableField(columnName = "c_gps_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime gpsDate ;

    /**
     * 
     */
    @DbTableField(columnName = "c_length", dbType = DbTypeEnum.DOUBLE)
    public Double length ;

    /**
     * 
     */
    @DbTableField(columnName = "c_lat", dbType = DbTypeEnum.DOUBLE)
    public Double lat ;

    /**
     * 
     */
    @DbTableField(columnName = "c_abs_y", dbType = DbTypeEnum.DOUBLE)
    public Double absY ;

    /**
     * 
     */
    @DbTableField(columnName = "c_abs_x", dbType = DbTypeEnum.DOUBLE)
    public Double absX ;

    /**
     * 
     */
    @DbTableField(columnName = "c_speed", dbType = DbTypeEnum.DOUBLE)
    public Double speed ;

    /**
     * 
     */
    @DbTableField(columnName = "c_degree", dbType = DbTypeEnum.DOUBLE)
    public Double degree ;

    /**
     * 
     */
    @DbTableField(columnName = "c_gps_pos_state", dbType = DbTypeEnum.TINYINT)
    public Byte gpsPosState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_gps_difference_state", dbType = DbTypeEnum.TINYINT)
    public Byte gpsDifferenceState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_star_number", dbType = DbTypeEnum.INTEGER)
    public Integer starNumber ;

    /**
     * 
     */
    @DbTableField(columnName = "c_over_area_alarm_state", dbType = DbTypeEnum.TINYINT)
    public Byte overAreaAlarmState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_over_line_alarm_state", dbType = DbTypeEnum.TINYINT)
    public Byte overLineAlarmState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_over_speed_20_alarm_state", dbType = DbTypeEnum.TINYINT)
    public Byte overSpeed20AlarmState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_over_speed_15_alarm_state", dbType = DbTypeEnum.TINYINT)
    public Byte overSpeed15AlarmState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_client_status", dbType = DbTypeEnum.INTEGER)
    public Integer clientStatus ;

    /**
     * 
     */
    @DbTableField(columnName = "c_voltage_level", dbType = DbTypeEnum.INTEGER)
    public Integer voltageLevel ;

    /**
     * 
     */
    @DbTableField(columnName = "c_gsm_signal_intensity", dbType = DbTypeEnum.INTEGER)
    public Integer gsmSignalIntensity ;

    /**
     * 创建id
     */
    @DbTableField(columnName = "c_db_create_id", dbType = DbTypeEnum.INTEGER)
    public Integer dbCreateId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_db_create_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime dbCreateDate ;

    /**
     * 修改id
     */
    @DbTableField(columnName = "c_db_last_update_id", dbType = DbTypeEnum.INTEGER)
    public Integer dbLastUpdateId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_db_last_update_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime dbLastUpdateDate ;


}
